package com.erp.erp_ui.business.req;

import com.erp.erp_ui.money.req.OperationReq;

import java.util.List;

/**
 * @ClassName : BatchOperationReq
 * @Description : 批量操作入参实体
 * @Author : lst
 * @Date: 2021-05-31 00:47
 */
public class BatchOperationReq {
    /**
     * 操作类型(1:一键提交 2:一键通过)
     */
    private Integer type;

    /**
     * 业务员编码
     */
    private String salesmanCodeUpdate;

    /**
     * 业务员名称
     */
    private String salesmanNameUpdate;

    /**
     * 数据对象集合
     */
    private List<OperationReq> operationReqs;


    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getSalesmanCodeUpdate() {
        return salesmanCodeUpdate;
    }

    public void setSalesmanCodeUpdate(String salesmanCodeUpdate) {
        this.salesmanCodeUpdate = salesmanCodeUpdate;
    }

    public String getSalesmanNameUpdate() {
        return salesmanNameUpdate;
    }

    public void setSalesmanNameUpdate(String salesmanNameUpdate) {
        this.salesmanNameUpdate = salesmanNameUpdate;
    }

    public List<OperationReq> getOperationReqs() {
        return operationReqs;
    }

    public void setOperationReqs(List<OperationReq> operationReqs) {
        this.operationReqs = operationReqs;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("BatchOperationReq").append('[')
                .append("type=")
                .append(type)
                .append(",salesmanCodeUpdate=")
                .append(salesmanCodeUpdate)
                .append(",salesmanNameUpdate=")
                .append(salesmanNameUpdate)
                .append(",operationReqs=")
                .append(operationReqs)
                .append(']');
        return sb.toString();
    }
}
